window.onload = function() {
//点击性别框显示隐藏开始
	var startBtn = true;
	show.addEventListener('click', function() {
		startBtn = !startBtn;
		startBtn ? (hide.style.display = 'none',chezhao.style.display = 'none') : (hide.style.display = 'block',chezhao.style.display = 'block');
	}, false);
//点击性别框显示隐藏结束
//背影显示隐藏开始
	var oYiOne = document.getElementById('yi');
	var oSpanOne = document.getElementById('spanO');
	var oYiTwo = document.getElementById('er');
	var oSpanTwo = document.getElementById('spanT');
	oYiOne.addEventListener('click', function(){
		txt.innerHTML=oSpanOne.innerHTML;
		hide.style.display = 'none';
		chezhao.style.display = 'none';
	})
	oYiTwo.addEventListener('click', function(){
		txt.innerHTML=oSpanTwo.innerHTML;
		hide.style.display = 'none';
		chezhao.style.display = 'none';
	})
	//背影显示隐藏结束
}